import request from '@/http/request'

export function getCommentsAdd(data) {
  return request({
    url: '/comments/add',
    method: 'post',
    data
  })
}

export function getCommentsDelete(data) {
  return request({
    url: '/comments/delete',
    method: 'post',
    data
  })
}

export function getCommentsAll(data) {
  return request({
    url: '/comments/get/all',
    method: 'post',
    data
  })
}

export function getCommentsAllLike(data) {
  return request({
    url: '/comments/get/all/like',
    method: 'post',
    data
  })
}

export function getCommentsUpdateLike(data) {
  return request({
    url: '/comments/update/like',
    method: 'post',
    data
  })
}